

const Key = 'conversationRestricKey'



export function getConversationRestrict () {

	let info = localStorage.getItem(Key)
	let result = JSON.parse(info)
  return result
}

export function setConversationRestrict (info) {
	
	let json_info = JSON.stringify(info);
  return localStorage.setItem(Key, json_info)
}

export function removeConversationRestrict () {
  return localStorage.removeItem(Key)
}